<?php
class Home extends MX_Controller
{
	public function __construct() 
	{
        parent::__construct();
    }
	
	public function index()
	{	
		if($this->session->userdata('logado'))
		{
			Visao::load('Home','administrador/home/home.phtml');	
		}
		else
		{
			$this->session->sess_destroy();
			redirect('administrador/login');		
		}	
	}
}
?>